<ion-view view-title="实名认证">
    <ion-content class="content has-header ionic-pseudo">
        <div class="head-info padding">
            <div class="padding-left size-14">证监会、银监会规定：理财交易必须进行实名认证。请提供您本人的真实姓名和身份证号码。</div>
        </div>
        <div class="list" ng-show="isauth">
            <div class="item" style="color:red;text-align: center;">
                已设置,【{{oldRealname | limitTo:1}}**】<a class="positive" ng-click="new_set_auth()">重新设置</a>
            </div>
        </div>
        <div class="list" ng-show="!isauth">
            <label class="item item-input">
                <span class="input-label">真实姓名</span>
                <input type="text" placeholder="输入本人真实姓名" ng-model='userAuth.realname'>
            </label>
            <label class="item item-input">
                <span class="input-label">身份证号</span>
                <input type="text" placeholder="输入本人身份证号" ng-model='userAuth.identityNumber'>
            </label>
            <button class="button button-full button-positive" ng-click="realnameAuth()">确认</button>
        </div>
    </ion-content>
</ion-view>